package cn.formaggie.entity.model.order;

import cn.formaggie.entity.model.sample.Sample;
import cn.formaggie.entity.model.store.StoreItem;
import cn.formaggie.entity.model.store.StoreOut;
import cn.formaggie.service.face.StoreOutService;

import java.util.Date;

public class OrderItem {
    private Integer id;
    private Date outdate;
    private Boolean isfinish;
    private Boolean isout;
    private Boolean ispay;
    private String remark;
    private Double price;
    private Integer count;
    private Double total;
    private Sample sample;
    private Order order;

    public OrderItem() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getOutdate() {
        return outdate;
    }

    public void setOutdate(Date outdate) {
        this.outdate = outdate;
    }

    public Boolean getIsfinish() {
        return isfinish;
    }

    public void setIsfinish(Boolean isfinish) {
        this.isfinish = isfinish;
    }

    public Boolean getIsout() {
        return isout;
    }

    public void setIsout(Boolean isout) {
        this.isout = isout;
    }

    public Boolean getIspay() {
        return ispay;
    }

    public void setIspay(Boolean ispay) {
        this.ispay = ispay;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public Sample getSample() {
        return sample;
    }

    public void setSample(Sample sample) {
        this.sample = sample;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }


    @Override
    public String toString() {
        return "OrderItem{" +
                "id=" + id +
                ", outdate=" + outdate +
                ", isfinish=" + isfinish +
                ", isout=" + isout +
                ", ispay=" + ispay +
                ", remark='" + remark + '\'' +
                ", total=" + total +
                ", sample=" + sample +
                ", order=" + order +
                '}';
    }
}
